package com.zwjk.cloud.config;

import com.netflix.loadbalancer.IRule;
import com.netflix.loadbalancer.RandomRule;
import com.zwjk.cloud.exclude.ExcludeFromComponentScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author : Jixiaohu
 * @Date : 2019-04-11.
 * @Time : 19:43.
 * @Description :
 */
@Configuration
@ExcludeFromComponentScan
public class TestConfiguration {


    @Bean
    public IRule ribbonRule() {
        return new RandomRule();
    }

}
